//
//  IMMessageEntity.h
//  WeiYiMei
//
//  Created by 李叶夫 on 2019/4/30.
//  Copyright © 2019年 liyefu. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface IMMessageEntity : NSObject

@property (nonatomic, copy) NSString *chatRecordId;
@property (nonatomic, copy) NSString *sender;
@property (nonatomic, copy) NSString *receiver;
@property (nonatomic, copy) NSString *content;
@property (nonatomic, copy) NSString *state;//状态（1已读，0未读）
@property (nonatomic, copy) NSString *createTime;
@property (nonatomic, copy) NSString *type;//1：会员发，2：商户发）
@property (nonatomic, copy) NSString *messageType;// 1: 文字消息，2：图片消息
@property (nonatomic, copy) NSString *filePath;//网络图片地址
@property (nonatomic, strong) UIImage *image;// 本地图片地址
@property (nonatomic, copy) NSString *dt; // 聊天记录时间


@property (nonatomic, assign) BOOL isAnimation;
@property (nonatomic, assign) BOOL isShowReSend;

@end

@interface IMMessageListEntity : NSObject

@property (nonatomic, strong) NSArray<IMMessageEntity *> *data;
@property (nonatomic, strong) NSNumber *recordsFiltered;
@property (nonatomic, strong) NSNumber *recordsTotal;

@end

NS_ASSUME_NONNULL_END
